/*
 * $Id: $
 */
package org.rcgwt.client.model;

/**
 * 
 * @author Olivier Oeuillot (latest modification by $Author: $)
 * @version $Revision: $ $Date: $
 */
public class BeanProperty {

    public enum Access {
        READ_ONLY, READ_WRITE
    }

    private final String name;

    private final String type;
    
    private final Access access;

    public BeanProperty(String name, String type, Access access) {
        this.name = name;
        this.type = type;
        this.access=access;
    }

    public String getName() {
        return name;
    }

    public String getType() {
        return type;
    }
    
    public Access getAccess() {
        return access;
    }
}
